package com.bkgy.modular.tbVoiceAlarm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bkgy.modular.tbVoiceAlarm.entity.TbVoiceAlarm;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author
 * @version 1.0
 * @ClassName TbVoiceAlarmMapper
 * @date 2023/6/19 10:03
 */
@Mapper
public interface TbVoiceAlarmMapper extends BaseMapper<TbVoiceAlarm> {
    List<TbVoiceAlarm> findByData(
            @Param("pageIndex") Integer pageIndex,
            @Param("pageSize") Integer pageSize,
            @Param("condition") Object condition
    );

    Integer findByDataCount(@Param("condition") Object condition);
}
